package com.jxbai.design.pattern.dcxy.singleton;

/**
 * 饿汉式单例
 * @author jxbai
 * @date 2021/12/13
 */
public class EargerSingleton {

    private static final EargerSingleton INSTANCE = new EargerSingleton();

    private EargerSingleton() {

    }

    public static EargerSingleton getInstance() {
        return INSTANCE;
    }
}
